package com.hand.springcloud.service;

import com.hand.springcloud.entities.Product;

import java.util.List;

/**
 * @ Description   :  部门服务接口
 * @ Author        :  xiong.yilin@hand-china.com
 * @ CreateDate    :  2019/9/6 14:22
 */
public interface ProductService {
    boolean add(Product product);

    Product get(Long id);

    List<Product> list();
}
